<template>
  <van-nav-bar
      title="播放与下载"
      style="width: 400px"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
  />
  <div class="network-settings">
    <van-cell-group>
      <van-cell title="运营商网络自动播放"  @click.native="openAutoPlay" />
      <van-switch v-model="value" />
      <van-cell title="允许运营商网络下载/上传"  @click.native="openDownloadUpload" />
      <van-switch v-model="value1" />
      <van-cell title="剩余空间不足时清理离线视频"  @click.native="openClearVideo" />
      <van-switch v-model="value2" />
    </van-cell-group>
  </div>

</template>

<script setup>
import {useRouter} from "vue-router";
const router = useRouter();
import {ref} from "vue";
const onClickLeft = () => {
  router.push("/systemSettings");
  // 返回按钮逻辑
};
const value = ref(false);
const value1 = ref(false);
const value2 = ref(false);
   const openAutoPlay= () => {};
   const openDownloadUpload= () => {};
   const openClearVideo= () => {};
</script>

<style scoped>

</style>